/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: OptionHoldOrderResponse.java
 *   @Date: 1/28/19 3:34 PM
 *   @Author: chenjun
 *   @Description:
 *   @Copyright（C）: 2019 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.sdk.trade.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

public class OptionHoldOrderResponse extends BaseResponse {
    public List<OptionHoldOrderBean> array = new ArrayList<>();

    public static class OptionHoldOrderBean implements Serializable {
       /* "accountId":"122216245228131",//账户id
                "balanceId":"122216245228131",//balanceId
                "symbolId":"W_BTC_CALL_0118",//期权token id
                "symbolName":"BTC111ETH",//期权token name
                "settlementTime":"1541161089303",//到期/交割时间
                "strikePrice":"1234",//行权价
                "price":"123。00000",//市场估价(USDT)
                "changedRate":"0.01",//现价涨跌幅(%)
                "changed":"0.01",//持仓盈亏
                "costPrice":"112.00000000",//成本金额（USDT）
                "position":"12.000",//持仓量（张）持仓>0 做多 持仓<0 做空
                "availPosition":"12.000",//可平量（张） (math: 可平量 = 持仓量 - 挂单量)
                "averagePrice":"11.00",//持仓均价（USDT）（math: 持仓均价 = cost/available）
                "margin":"111.00000000",//冻结保证金（USDT）
                "indices":"123.00000",//标的指数
                "baseTokenId": "W_BTC_CALL_0118",
                "baseTokenName": "WBTCCALL0118",
                "quoteTokenId": "USDT",
                "quoteTokenName": "USDT"*/
        public String accountId;
        public String balanceId;
        public String symbolId;
        public String symbolName;
        public String settlementTime;
        public String strikePrice;//行权价
        public String price;
        public String changedRate;
        public String changed;
        public String costPrice;
        public String position;
        public String availPosition;
        public String averagePrice;
        public String margin;
        public String indices;
        public String baseTokenId;
        public String baseTokenName;
        public String quoteTokenId;
        public String quoteTokenName;
        public String positionRights;

        /**
         * exchangeId : 301
         * optionType : PUT
         */

        public String exchangeId;
        public String optionType;

    }
}